package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 国家列对象 tb_country
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "Country", description = "国家列")
public class Country implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 国家主键 */
    @ApiModelProperty("国家主键")
    private Long id;

    /** 国家名称 */
    @Excel(name = "国家名称")
    @ApiModelProperty("国家名称")
    private String countryName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCountryName(String countryName)
    {
        this.countryName = countryName;
    }

    public String getCountryName()
    {
        return countryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("countryName", getCountryName())
            .toString();
    }
}
